package com.ruoyi.company.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.entity.SysDept;
import com.ruoyi.common.core.domain.entity.SysUser;

import java.util.Date;
import java.util.List;

/**
 * @author WangChangShuo
 * @date 2022/4/12 16:32
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CompanyOther extends BaseEntity {
    private String taxRate;
    private String idcard;
    private String idcardzmPhoto;
    private String idcardfmPhoto;
    private String email;
    private String phone;
    private Long id;
    private Long userId;
    /**
     * 登录人所在的dept_id
     */
    private Long deptId;
    /**
     * company表的company_id
     */
    private Long companyId;
    /**
     * 账期设置天数
     */
    private int paymentDays;
    /**
     * 产品 是否 默认否
     */
    private String sharePro;
    /**
     * 资质  是否
     */
    private String shareZizhi;
    /**
     * 经营范围 是否
     */
    private String shareScope;
    /**
     * 发票 是否
     */
    private String shareInvoice;
    /**
     * 合同约定项
     */
    private String contractTerms;
    /**
     * 收货人及联系电话
     */
    private String consigneeAndPhone;
    /**
     * 采购人及联系电话
     */
    private String buyerAndPhone;
    /**
     * 发票收件人
     */
    private String invoiceRecipient;
    /**
     * 邮箱
     */
    private String invoiceEmail;
    /**
     * 收货地址
     */
    private String receiverAddress;
    /**
     * 公司地址 -- 省
     */
    private String province;
    /**
     * 公司地址 -- 市
     */
    private String city;
    /**
     * 公司地址
     */
    private String otherCorporateAddress;
    /**
     * 负责客户的部门
     */
    private Long customerForDept;
    /**
     * 负责客户部门名称
     */
    private String customerDeptName;
    /**
     * 负责客户的员工Id
     */
    private Long customerForPerson;
    private String productId;
    /**
     * 负责客户的员工名称
     */
    private String userName;
    /**
     * 上下级关系状态
     */
    private String gradeStatus;
    /*
        申请合作单位的状态
         */
    private String atStatus;
    /**
     * 申请时间
     */
    private Date applyTime;
    /**
     * 审核时间
     */
    private Date auditTime;
    /**
     * 系统用户表 一对一关系
     */
    private SysUser sysUser;
    /**
     * 系统部门表 一对一
     */
    private SysDept sysDept;
    /**
     * 合作单位表 一对一关系
     */
    private Company company;
    /**
     * 联系人表 一对多
     */
    private List<CompanyLinkman> linkmanList;
    /**
     * 判断是否为当前公司创建的
     */
    private String status;

    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(String taxRate) {
        this.taxRate = taxRate;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getIdcardzmPhoto() {
        return idcardzmPhoto;
    }

    public void setIdcardzmPhoto(String idcardzmPhoto) {
        this.idcardzmPhoto = idcardzmPhoto;
    }

    public String getIdcardfmPhoto() {
        return idcardfmPhoto;
    }

    public void setIdcardfmPhoto(String idcardfmPhoto) {
        this.idcardfmPhoto = idcardfmPhoto;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getAtStatus() {
        return atStatus;
    }

    public void setAtStatus(String atStatus) {
        this.atStatus = atStatus;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<CompanyLinkman> getLinkmanList() {
        return linkmanList;
    }

    public void setLinkmanList(List<CompanyLinkman> linkmanList) {
        this.linkmanList = linkmanList;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCustomerDeptName() {
        return customerDeptName;
    }

    public void setCustomerDeptName(String customerDeptName) {
        this.customerDeptName = customerDeptName;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getOtherCorporateAddress() {
        return otherCorporateAddress;
    }

    public void setOtherCorporateAddress(String otherCorporateAddress) {
        this.otherCorporateAddress = otherCorporateAddress;
    }

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    public String getInvoiceEmail() {
        return invoiceEmail;
    }

    public void setInvoiceEmail(String invoiceEmail) {
        this.invoiceEmail = invoiceEmail;
    }

    public String getGradeStatus() {
        return gradeStatus;
    }

    public void setGradeStatus(String gradeStatus) {
        this.gradeStatus = gradeStatus;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    public Company getCompany() {
        return company;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public int getPaymentDays() {
        return paymentDays;
    }

    public void setPaymentDays(int paymentDays) {
        this.paymentDays = paymentDays;
    }

    public String getSharePro() {
        return sharePro;
    }

    public void setSharePro(String sharePro) {
        this.sharePro = sharePro;
    }

    public String getShareZizhi() {
        return shareZizhi;
    }

    public void setShareZizhi(String shareZizhi) {
        this.shareZizhi = shareZizhi;
    }

    public String getShareScope() {
        return shareScope;
    }

    public void setShareScope(String shareScope) {
        this.shareScope = shareScope;
    }

    public String getShareInvoice() {
        return shareInvoice;
    }

    public void setShareInvoice(String shareInvoice) {
        this.shareInvoice = shareInvoice;
    }

    public String getContractTerms() {
        return contractTerms;
    }

    public void setContractTerms(String contractTerms) {
        this.contractTerms = contractTerms;
    }

    public String getConsigneeAndPhone() {
        return consigneeAndPhone;
    }

    public void setConsigneeAndPhone(String consigneeAndPhone) {
        this.consigneeAndPhone = consigneeAndPhone;
    }

    public String getBuyerAndPhone() {
        return buyerAndPhone;
    }

    public void setBuyerAndPhone(String buyerAndPhone) {
        this.buyerAndPhone = buyerAndPhone;
    }

    public String getInvoiceRecipient() {
        return invoiceRecipient;
    }

    public void setInvoiceRecipient(String invoiceRecipient) {
        this.invoiceRecipient = invoiceRecipient;
    }

    public String getReceiverAddress() {
        return receiverAddress;
    }

    public void setReceiverAddress(String receiverAddress) {
        this.receiverAddress = receiverAddress;
    }

    public Long getCustomerForPerson() {
        return customerForPerson;
    }

    public void setCustomerForPerson(Long customerForPerson) {
        this.customerForPerson = customerForPerson;
    }

    public Long getCustomerForDept() {
        return customerForDept;
    }

    public void setCustomerForDept(Long customerForDept) {
        this.customerForDept = customerForDept;
    }
}
